<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>商品列表</title>
    <script src="/layui/layui.js"></script>
    <script src="/jquery/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/product/productManage/productList/product-list.css">
    <script src="/js/product/productManage/productList/product-list.js"></script>
    <link rel="stylesheet" href="/ztree/css/metroStyle/metroStyle.css"/>
    <script type="text/javascript" src="/ztree/js/jquery.ztree.all.min.js"></script>
    <script type="text/javascript" src="/ztree/js/jquery.ztree.core.js"></script>
    <script type="text/javascript" src="/ztree/js/jquery.ztree.excheck.js"></script>
    <script type="text/javascript" src="/ztree/js/jquery.ztree.exedit.js"></script>
</head>
<body>
<div class="layui-row">
    <div class="layui-col-md12">
        <div class="list">
            <div class="list-left layui-col-md8">
                <div class="list-left-left"></div>
                <p class="list-left-right">商品列表</p>
            </div>
            <div class="list-right layui-col-md4">
                <div class="functionButton">
                    <div class="list-right-left layui-btn layui-icon layui-icon-refresh" id="refresh">&nbsp;刷新</div>
                    <div class="list-right-right layui-btn layui-icon layui-icon-left" id="goBack">&nbsp;返回</div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md12">
        <div class="layui-row query">
            <div class="layui-card headerCenter">
                <div class="layui-card-header backColor">
                    <i class="layui-icon">&#xe615;</i>
                    筛选查询
                    <div class="query-top-right layui-btn" id="advancedSearching">高级检索</div>
                </div>
                <div class="layui-card-body">
                    <form class="layui-form">
                        <div class="layui-form-item ">
                            <label class="layui-form-label">商品名称：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="productName" id="productName"   placeholder="请输入商品名称" autocomplete="off" class="layui-input">
                            </div>
                            <label class="layui-form-label">商品分类：</label>
                            <div class="layui-input-inline" >
                                <select class="layui-select" name="title" id="title">
                                    <option value=""></option>
                                </select>
                            </div>
                            <label class="layui-form-label">商品状态：</label>
                            <div class="layui-input-inline">
                                <select class="layui-select" name="productSate" id="productSate">
                                    <option value=""></option>
                                    <option value="3">已删除</option>
                                    <option value="1">上架</option>
                                    <option value="2">下架</option>
                                </select>
                            </div>
                            <label class="layui-form-label">商品标签：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="productLabel" id="productLabel"  autocomplete="off" class="layui-input" placeholder="请输入商品标签">
                            </div>
                            <div class="queryButtonBox">
                                <button lay-submit lay-filter="search" type="button" class="layui-btn" id="search">
                                    <i class="layui-icon layui-icon-search"></i> 搜索
                                </button>
                                <button type="reset" class="layui-btn layui-btn-warm" >
                                    <i class="layui-icon layui-icon-refresh"></i> 重置
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-col-md12">
        <!--数据列表-->
        <div class="record">
            <div class="layui-col-md2  tree-left">
                <!--树-->
                <ul id="demoTree" class="ztree" ></ul>
            </div>
            <div class="layui-col-md9 record-right">
                <!--表-->
                <table id="demoTable"  lay-filter="demoTable"></table>
            </div>
        </div>
        <!--表头样式-->
        <div id="course_thead" style="display: none;">
            <i class="layui-icon layui-icon-align-left"></i>商品列表
            <button type="button" class="layui-btn import" id="import" onclick="importFile()">
                <i class="layui-icon">&#xe62f;</i>&nbsp;导入
            </button>
            <button type="button" class="layui-btn" id="addProduct" onclick="addProduct()">
                <i class="layui-icon">&#xe608;</i>&nbsp;添加
            </button>
        </div>

        <!--表内操作-->
        <div id="table_toolbar" style="display:none" >
            <a alt="查看" title="查看" href="javascript:;" lay-event="checkTable">查看</a>
            <a alt="编辑" title="编辑" href="javascript:;" lay-event="updateTable">编辑</a>
            <div></div>
            <a alt="日志" title="日志" href="javascript:;" lay-event="journalTable">日志</a>
            <a alt="删除" title="删除" href="javascript:;" lay-event="deleteTable">删除</a>
        </div>
        <!--ztree节点增删改-->
        <div id="rMenu">
            <ul>
                <li id="m_add" onclick="addTreeNode();">增加节点</li>
                <li id="m_del" onclick="removeTreeNode();">删除节点</li>
                <li id="m_edit" onclick="edit();">编辑节点</li>
            </ul>
        </div>
    </div>
</div>

</body>
</html>